home *** CD-ROM | disk | FTP | other *** search
/ LOGIC Apps / Logic-APPLE_II_APPS.iso / mac / LOGIC Apple II 5.25" Library - ProDOS / PRO079B.dsk / IIC / IIC.05.MEM.EXPN.txt < prev    next >
Text File  |  2012-02-16  |  4KB  |  99 lines

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Apple IIc
  8. #5:    Memory Expansion on the Apple IIc
  9.  
  10. Revised by:    Matt Deatherage                                  November 1988
  11. Written by:    Cameron Birse                                     October 1986
  12.  
  13. This Technical Note describes some important differences in the "memory-
  14. expandable" Apple IIc which you should take into account to ensure 
  15. compatibility.
  16. _____________________________________________________________________________
  17.  
  18. Beginning with the third Apple IIc, which was announced in September 1986, all 
  19. new IIc models differ significantly from their predecessors.  The most notable 
  20. of these differences is the addition of a memory expansion capability.  The 
  21. memory expansion card for the IIc is functionally identical to the card for 
  22. the IIe, but the IIc card "lives" in slot 4 and the firmware is included in 
  23. the ROM on the IIc motherboard.  This architecture means that you cannot 
  24. depend upon the firmware ID bytes to tell if a card is installed, since unlike 
  25. other "peripheral cards" in the IIc, the memory expansion card is not 
  26. necessarily present.  For this particular case, you need to interrogate the 
  27. card and see how many blocks of memory are available.  If there are no 
  28. available blocks, there is no card.
  29.  
  30.  
  31. SmartPort
  32.  
  33. Do a STATUS call with a statcode = $03 to get the Device Information Block 
  34. (DIB).  This call returns a value of $000000 in the device size fields if 
  35. there is no RAM card.
  36.  
  37. In version 3 of the IIc ROM, the value resulting from a status call to device 
  38. 0 implies that there is always a real card connected; the ROM version 4 
  39. returns device connected only when there is RAM card present.
  40.  
  41.  
  42. ProDOS
  43.  
  44. When you do an ON_LINE call to the ProDOS MLI and there is no RAM on the 
  45. Memory Expansion Card, you get an error $2D.  This error is not a ProDOS 
  46. error, rather it is a SmartPort error.  The error is BADBLOCK, and basically 
  47. tells you that the block requested was not available.  If you try to catalog 
  48. the RAM disk from BASIC, you will get a PATH NOT FOUND error.
  49.  
  50.  
  51. Pascal
  52.  
  53. Formatting the RAM disk (unit #9) with no memory on the card returns no error.  
  54. Doing a UnitStatus call will return zero blocks available, and trying to read 
  55. the volume directory will result in an IORESULT of 8, which means no room is 
  56. available on the volume.  Doing the V(ols command from the F(iler will result 
  57. in a <no dir> and # of blocks = 0.
  58.  
  59.  
  60. DOS 3.3
  61.  
  62. If there is no memory on the card and you initialize it with an IN#4 (which 
  63. returns a slash, appearing to have successfully initialized the RAM disk), you 
  64. will get an I/O error (ONERR code = 8) if you try to read from or write to the 
  65. RAM disk.
  66.  
  67. Important:    Another significant ramification of the memory 
  68. expansion capability is that the mouse firmware has been 
  69. moved to slot 7.  This change means that programs should 
  70. scan the slots just as they would on a IIe to find what 
  71. peripherals are installed.  Since most programs have a scan 
  72. routine in them for the IIe, it should be a relatively minor 
  73. change to call this routine for whatever machine you are on.  
  74. In fact, we strongly recommend that programs always scan the 
  75. slots for peripheral devices regardless of the machine on 
  76. which they are running.
  77.  
  78. The firmware ID bytes for this version of the machine are:
  79.  
  80. Original Expandable IIc
  81.     $FBB3--$06        $FBC0--$00        $FBBF--$03
  82.  
  83. Revised Expandable IIc
  84.     $FBB3--$06        $FBC0--$00        $FBBF--$04
  85.  
  86. Apple IIc Plus
  87.     $FBB3--$06        $FBC0--$00        $FBBF--$05
  88.  
  89.  
  90. Further Reference
  91. o    Apple IIc Technical Note #6, Buffering Blues
  92. o    Apple IIc Technical Note #7, Existing Versions
  93. o    Apple II Miscellaneous Technical Note #2, Apple II Family
  94.      Identification Routines 2.1
  95. o    Apple II Miscellaneous Technical Note #7, Apple II Family Identification
  96. o    Apple II Miscellaneous Technical Note #8, Pascal 1.1 Firmware
  97.      Protocol ID Bytes
  98.  
  99.